package hibernate2;

import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Table(name = "player_status")
@Entity
public class Player_status {
	public Set<Player> getPlayer() {
		return player;
	}

	public void setPlayer(Set<Player> player) {
		this.player = player;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	
	



	@Id
	@Column(name = "id")
		private int id;

	@Column(name = "name")
		private String name;

	@Column(name = "code")
		private String code;

	@Column(name = "description")
		private String description;

//	@OneToMany
//	@JoinColumn(name="student_status_id")
	private Set<Player>player;

	

}
